Enable AWS VPC Flow Log
Go to AWS Console and navigate to VPC. Select the VPC and click on Flow Logs.
![](/static/218af80635209182fee525d4767931cb/05b4c/AWS%20Cloud%20Monitoring%20Deployment%20Guide.1.09.1.jpg)
We can use the toggle buttons on the right to display different size screens. Click on 'Create flow log.'
![](/static/ed22c1108d0678636c6ff0a89421c9cb/05b4c/AWS%20Cloud%20Monitoring%20Deployment%20Guide.1.09.2.jpg)
It will take us to Flow Log window. Select the filter 'All' in the dropdown.
![](/static/72fdbec7faee416f8abc9e77786c0053/05b4c/AWS%20Cloud%20Monitoring%20Deployment%20Guide.1.09.3.jpg)
For Max Aggregation Interval:
![](/static/8b4763a8b199f7031b4ccb0790dc4dd7/de8f8/AWS%20Cloud%20Monitoring%20Deployment%20Guide.1.09.4.jpg)
Set it to 1 minute. So, each flow record would be aggregated for a 1-minute time interval, like time out setting in router NetFlow. But the records are written to S3 approximately every 5 minutes. And on interfaces attached to Nitro based EC2 instances, the maximum is always 1 minute even if a higher value is selected. For the Destination select 'Send to an S3 Bucket.' For bucket arn, open s3 in another tab and copy the ARN as below.
![](/static/6f037d2ea7a74d041f7aaef48e4d8ca7/05b4c/AWS%20Cloud%20Monitoring%20Deployment%20Guide.1.09.5.jpg)
Paste the copied ARN value in the text box 'S3 bucket ARN*.'
![](/static/bf1763a543de76da0796549404553b71/05b4c/AWS%20Cloud%20Monitoring%20Deployment%20Guide.1.09.6.jpg)
On clicking 'Create,' AWS Flow logs will be sent to S3 bucket. We will now configure the LiveNX-CM to read from S3 bucket.